package com.treeroot.userservice;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @Description:
 * @Author:treeRoot
 * @Email:553503639@qq.com
 * @Date: Create in 15:01 / 2022/4/28
 */

@SpringBootApplication
@EnableDiscoveryClient   // nacos注册
@EnableFeignClients  //服务的注册,开启远程调用功能，
@ComponentScan(basePackages = {"com.treeroot"})
public class UserApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(UserApplication.class,args);
    }
}
